<div><a href="administrator-lagnappe-add?itemid=<?=$this->itemid?>">添加赠品</a> | <a href="administrator-fenlei-index?type=product">返回分类页</a></div>
<? if($this->lagnappeArray):?>
			<form name="userIndexForm" id="userIndexForm" action="administrator<?=CHOSING_DE?>lagnappe<?=CHOSING_DE?>dodel?itemid=<?=$this->itemid?>" method="post">
                            <br />
                            <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CEE7FF" style="border-collapse:collapse">
					<tr>
                                            <td width="20%" height="30" class="bbgg">
							<strong>名称</strong>
						</td>
						<td width="20%" class="bbgg">
							<strong>要求购买数量</strong>
						</td>
						<td width="20%" class="bbgg">
							<strong>价格</strong>
						</td>
						<td width="20%" class="bbgg">
							<strong>编 辑</strong>
						</td>
						<td width="20%" class="bbgg">
							<strong>操 作</strong>
						</td>
					</tr>
					<? for($i=0;$i<count($this->lagnappeArray);$i++):?>
					<tr bgcolor="#FFFFFF">
						<td align="center" valign="middle">
                                                    <img style="height:100px;width:100px;vertical-align:middle;border:1px #cccccc dashed" src="<?=$this->lagnappeArray[$i]['cut_url']?>" />
                                                    <br />
							<?=$this->lagnappeArray[$i]['ltitle']?>
						</td>
						<td align="center">
							<?=$this->lagnappeArray[$i]['min_counts']?>
						</td>
						<td align="center">
							<?=$this->lagnappeArray[$i]['price']?>
						</td>
						<td align="center">
							<a href="administrator<?=CHOSING_DE?>lagnappe<?=CHOSING_DE?>edit?pid=<?=$this->lagnappeArray[$i]['pid']?>">编 辑</a>
						</td>
						<td align="center">
							<input type="checkbox" name="itemArray[]" value="<?=$this->lagnappeArray[$i]['pid']?>" />
						</td>
					</tr>
					<? endfor;?>
				</table>
				<br />
				<div style="margin:10px">全选<input type="checkbox" onClick="selectAll(this,'userIndexForm','itemArray[]');" />　<input onClick="return checkShouldDelItems('userIndexForm','itemArray[]',1);" type="submit" value="删除"/></div>
			</form>
<?else:?>
<?=$this->getMsg('暂无资料!');?>
<?endif;?>
<script>

</script>